import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamDemo05 {

    public static void main(String[] args) throws IOException {
        FileOutputStream fileOutputStream = new FileOutputStream("C:\\Users\\Administrator\\Desktop\\3.txt", true);
        String s = "我会唱跳rap，基尼太美";
        byte[] bytes = s.getBytes();
        fileOutputStream.write(bytes);
        fileOutputStream.close();


        // 复制

    }
}
